package com.demo.designmode.iterator;

/**
 * @Author: jxm
 * @Description: 抽象迭代器接口
 * @Date: 2023-12-12 14:37
 * @Version: 1.0
 */
public interface StudentIterator {

    //判断是否还有元素
    boolean hasNext();

    //获取下一个元素
    Student next();
}
